home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Communications / pcomm / Source / status.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  808 b   |  30 lines

  1. /*
  2.  * The status flags, and other various changeable things.  Obviously
  3.  * the "config.h" file must appear before this file.
  4.  */
  5.  
  6. #define MAX_ROW        64
  7. #define MAX_COL        133
  8. #define PATH        128
  9.  
  10. struct STATUS {
  11.     int    fd;            /* file descriptor for TTY */
  12.     int    dup_fd;            /* for duplicating input */
  13.     int    add_lf;            /* add <CR> to <LF>? */
  14.     int    log;            /* status of log option */
  15.     int    print;            /* status of print option */
  16.     char    log_path[PATH];        /* data logging file */
  17. #ifdef SHAREDMEM
  18.     int    clr;            /* flag to clear the screen */
  19.     int    row;            /* cursor row position */
  20.     int    col;            /* cursor column position */
  21.     char    vs[MAX_ROW][MAX_COL];    /* the virtual screen */
  22. #else /* SHAREDMEM */
  23.     char    vs_path[PATH];        /* virtual screen file */
  24. #endif /* SHAREDMEM */
  25. };
  26.  
  27. #ifndef MAIN
  28. extern struct STATUS *status;
  29. #endif /* MAIN */
  30.